# coding: utf-8

from django.db import models

TIPOSUSUARIOS_CHOICES   = ( ('D','Desenvolvedor'),('S','Solicitante') )

class Nivel(models.Model):
    Status 		    = models.AutoField(max_length=2, db_index=True, editable=False, primary_key=True)
    ProximoNivel    = models.CharField(max_length=2)
    AnteriorNivel   = models.CharField(max_length=2)
    TipoUsuario     = models.CharField(max_length=1,choices=TIPOSUSUARIOS_CHOICES)
    
    class Meta:
        unique_together = ['Status']
